-
Home
-
Simple Sponsorships
-
1.8.1 (latest)
-
Code
-
Classes
- Sponsorship
Total Complexity |
73 |
Dependencies |
6 |
Dependents |
12 |
Total lines |
466 |
Lines of code |
265 |
Logical lines of code |
154 |
Comment lines |
117 |
Methods |
24 |
Properties |
2 |
Methods 24
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
update_items() |
A |
45 |
13 |
43 |
get_items() |
S |
54 |
7 |
22 |
get_packages() |
S |
56 |
6 |
20 |
remove_items() |
S |
56 |
6 |
19 |
activate() |
S |
52 |
5 |
23 |
add_package() |
S |
58 |
4 |
15 |
get_sponsor_data() |
S |
55 |
3 |
19 |
calculate_totals() |
S |
64 |
3 |
10 |
set_status() |
S |
68 |
3 |
7 |
add_items() |
S |
65 |
3 |
9 |
get_data() |
S |
64 |
3 |
9 |
get_view_account_url() |
S |
67 |
2 |
7 |
get_view_link() |
S |
65 |
2 |
9 |
get_db_object() |
S |
71 |
2 |
6 |
get_type() |
S |
69 |
2 |
7 |
add_item() |
S |
60 |
1 |
13 |
reset_items_data() |
S |
77 |
1 |
4 |
is_status() |
S |
77 |
1 |
3 |
get_package() |
S |
73 |
1 |
5 |
is_approved() |
S |
80 |
1 |
3 |
is_paid() |
S |
80 |
1 |
3 |
is_request() |
S |
80 |
1 |
3 |
is_on_hold() |
S |
80 |
1 |
3 |
get_formatted_amount() |
S |
78 |
1 |
3 |